import Express from 'express'
import Config from './ServerConfig'
import Path from 'path'
class _Server{
  run(){

      var app = Express();
      app.use(Express.static('staticFiles'));

      app.listen(Config.ServerPort,()=>{
        console.log("开始监听于 <-"+Config.ServerPort+"-> 端口");
      })

      this.app=app;
  }


}


export default new _Server();
